Optimal. Leaf size=1190 \[ \text{result too large to display} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 6.50745, antiderivative size = 1190, normalized size of antiderivative = 1., number of steps used = 20, number of rules used = 12, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364, Rules used = {3700, 6725, 636, 738, 779, 621, 206, 832, 1018, 1036, 1030, 208} \[ \frac{2 (2 a+b \tan (d+e x)) \tan ^4(d+e x)}{\left (b^2-4 a c\right ) e \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}-\frac{2 b \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a} \tan ^3(d+e x)}{c \left (b^2-4 a c\right ) e}+\frac{\left (7 b^2-16 a c\right ) \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a} \tan ^2(d+e x)}{3 c^2 \left (b^2-4 a c\right ) e}-\frac{2 (2 a+b \tan (d+e x)) \tan ^2(d+e x)}{\left (b^2-4 a c\right ) e \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}-\frac{5 b \left (7 b^2-12 a c\right ) \tanh ^{-1}\left (\frac{b+2 c \tan (d+e x)}{2 \sqrt{c} \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}\right )}{16 c^{9/2} e}+\frac{3 b \tanh ^{-1}\left (\frac{b+2 c \tan (d+e x)}{2 \sqrt{c} \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}\right )}{2 c^{5/2} e}-\frac{\sqrt{2 a-2 c-\sqrt{a^2-2 c a+b^2+c^2}} \sqrt{a^2-2 c a-b^2+c^2+(a-c) \sqrt{a^2-2 c a+b^2+c^2}} \tanh ^{-1}\left (\frac{b^2-\left (2 a-2 c-\sqrt{a^2-2 c a+b^2+c^2}\right ) \tan (d+e x) b-(a-c) \left (a-c+\sqrt{a^2-2 c a+b^2+c^2}\right )}{\sqrt{2} \sqrt{2 a-2 c-\sqrt{a^2-2 c a+b^2+c^2}} \sqrt{a^2-2 c a-b^2+c^2+(a-c) \sqrt{a^2-2 c a+b^2+c^2}} \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}\right )}{\sqrt{2} \left (a^2-2 c a+b^2+c^2\right )^{3/2} e}+\frac{\sqrt{2 a-2 c+\sqrt{a^2-2 c a+b^2+c^2}} \sqrt{a^2-2 c a-b^2+c^2-(a-c) \sqrt{a^2-2 c a+b^2+c^2}} \tanh ^{-1}\left (\frac{b^2-\left (2 a-2 c+\sqrt{a^2-2 c a+b^2+c^2}\right ) \tan (d+e x) b-(a-c) \left (a-c-\sqrt{a^2-2 c a+b^2+c^2}\right )}{\sqrt{2} \sqrt{2 a-2 c+\sqrt{a^2-2 c a+b^2+c^2}} \sqrt{a^2-2 c a-b^2+c^2-(a-c) \sqrt{a^2-2 c a+b^2+c^2}} \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}\right )}{\sqrt{2} \left (a^2-2 c a+b^2+c^2\right )^{3/2} e}-\frac{\left (3 b^2-2 c \tan (d+e x) b-8 a c\right ) \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}{c^2 \left (b^2-4 a c\right ) e}+\frac{\left (105 b^4-460 a c b^2-2 c \left (35 b^2-116 a c\right ) \tan (d+e x) b+256 a^2 c^2\right ) \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}{24 c^4 \left (b^2-4 a c\right ) e}+\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3700
Rule 6725
Rule 636
Rule 738
Rule 779
Rule 621
Rule 206
Rule 832
Rule 1018
Rule 1036
Rule 1030
Rule 208
Rubi steps
\begin{align*} \int \frac{\tan ^7(d+e x)}{\left (a+b \tan (d+e x)+c \tan ^2(d+e x)\right )^{3/2}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{x^7}{\left (1+x^2\right ) \left (a+b x+c x^2\right )^{3/2}} \, dx,x,\tan (d+e x)\right )}{e}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{x}{\left (a+b x+c x^2\right )^{3/2}}-\frac{x^3}{\left (a+b x+c x^2\right )^{3/2}}+\frac{x^5}{\left (a+b x+c x^2\right )^{3/2}}-\frac{x}{\left (1+x^2\right ) \left (a+b x+c x^2\right )^{3/2}}\right ) \, dx,x,\tan (d+e x)\right )}{e}\\ &=\frac{\operatorname{Subst}\left (\int \frac{x}{\left (a+b x+c x^2\right )^{3/2}} \, dx,x,\tan (d+e x)\right )}{e}-\frac{\operatorname{Subst}\left (\int \frac{x^3}{\left (a+b x+c x^2\right )^{3/2}} \, dx,x,\tan (d+e x)\right )}{e}+\frac{\operatorname{Subst}\left (\int \frac{x^5}{\left (a+b x+c x^2\right )^{3/2}} \, dx,x,\tan (d+e x)\right )}{e}-\frac{\operatorname{Subst}\left (\int \frac{x}{\left (1+x^2\right ) \left (a+b x+c x^2\right )^{3/2}} \, dx,x,\tan (d+e x)\right )}{e}\\ &=\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \tan ^2(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \tan ^4(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \operatorname{Subst}\left (\int \frac{x (4 a+2 b x)}{\sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{\left (b^2-4 a c\right ) e}-\frac{2 \operatorname{Subst}\left (\int \frac{x^3 (8 a+4 b x)}{\sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{\left (b^2-4 a c\right ) e}+\frac{2 \operatorname{Subst}\left (\int \frac{-\frac{1}{2} b \left (b^2-4 a c\right )-\frac{1}{2} (a-c) \left (b^2-4 a c\right ) x}{\left (1+x^2\right ) \sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e}\\ &=\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \tan ^2(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \tan ^4(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 b \tan ^3(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c \left (b^2-4 a c\right ) e}-\frac{\left (3 b^2-8 a c-2 b c \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c^2 \left (b^2-4 a c\right ) e}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{2 c^2 e}-\frac{\operatorname{Subst}\left (\int \frac{x^2 \left (-12 a b-2 \left (7 b^2-16 a c\right ) x\right )}{\sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{2 c \left (b^2-4 a c\right ) e}-\frac{\operatorname{Subst}\left (\int \frac{\frac{1}{2} b \left (b^2-4 a c\right ) \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right )+\frac{1}{2} \left (b^2-4 a c\right ) \left (b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )\right ) x}{\left (1+x^2\right ) \sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{\left (b^2-4 a c\right ) \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{\operatorname{Subst}\left (\int \frac{\frac{1}{2} b \left (b^2-4 a c\right ) \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right )+\frac{1}{2} \left (b^2-4 a c\right ) \left (b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )\right ) x}{\left (1+x^2\right ) \sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{\left (b^2-4 a c\right ) \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}\\ &=\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \tan ^2(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \tan ^4(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{\left (7 b^2-16 a c\right ) \tan ^2(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{3 c^2 \left (b^2-4 a c\right ) e}-\frac{2 b \tan ^3(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c \left (b^2-4 a c\right ) e}-\frac{\left (3 b^2-8 a c-2 b c \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c^2 \left (b^2-4 a c\right ) e}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{4 c-x^2} \, dx,x,\frac{b+2 c \tan (d+e x)}{\sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{c^2 e}-\frac{\operatorname{Subst}\left (\int \frac{x \left (4 a \left (7 b^2-16 a c\right )+b \left (35 b^2-116 a c\right ) x\right )}{\sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{6 c^2 \left (b^2-4 a c\right ) e}+\frac{\left (b \left (b^2-4 a c\right ) \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right ) \left (b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{1}{2} b \left (b^2-4 a c\right )^2 \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right ) \left (b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )\right )+b x^2} \, dx,x,\frac{\frac{1}{2} \left (b^2-4 a c\right ) \left (b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )\right )-\frac{1}{2} b \left (b^2-4 a c\right ) \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{2 \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}-\frac{\left (b \left (b^2-4 a c\right ) \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right ) \left (b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{1}{2} b \left (b^2-4 a c\right )^2 \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right ) \left (b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )\right )+b x^2} \, dx,x,\frac{\frac{1}{2} \left (b^2-4 a c\right ) \left (b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )\right )-\frac{1}{2} b \left (b^2-4 a c\right ) \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{2 \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}\\ &=\frac{3 b \tanh ^{-1}\left (\frac{b+2 c \tan (d+e x)}{2 \sqrt{c} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{2 c^{5/2} e}-\frac{\sqrt{2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2+(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \tanh ^{-1}\left (\frac{b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )-b \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{2} \sqrt{2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2+(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{\sqrt{2} \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{\sqrt{2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2+c \left (c+\sqrt{a^2+b^2-2 a c+c^2}\right )-a \left (2 c+\sqrt{a^2+b^2-2 a c+c^2}\right )} \tanh ^{-1}\left (\frac{b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )-b \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{2} \sqrt{2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2-(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{\sqrt{2} \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \tan ^2(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \tan ^4(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{\left (7 b^2-16 a c\right ) \tan ^2(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{3 c^2 \left (b^2-4 a c\right ) e}-\frac{2 b \tan ^3(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c \left (b^2-4 a c\right ) e}-\frac{\left (3 b^2-8 a c-2 b c \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c^2 \left (b^2-4 a c\right ) e}+\frac{\left (105 b^4-460 a b^2 c+256 a^2 c^2-2 b c \left (35 b^2-116 a c\right ) \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{24 c^4 \left (b^2-4 a c\right ) e}-\frac{\left (5 b \left (7 b^2-12 a c\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x+c x^2}} \, dx,x,\tan (d+e x)\right )}{16 c^4 e}\\ &=\frac{3 b \tanh ^{-1}\left (\frac{b+2 c \tan (d+e x)}{2 \sqrt{c} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{2 c^{5/2} e}-\frac{\sqrt{2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2+(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \tanh ^{-1}\left (\frac{b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )-b \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{2} \sqrt{2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2+(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{\sqrt{2} \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{\sqrt{2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2+c \left (c+\sqrt{a^2+b^2-2 a c+c^2}\right )-a \left (2 c+\sqrt{a^2+b^2-2 a c+c^2}\right )} \tanh ^{-1}\left (\frac{b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )-b \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{2} \sqrt{2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2-(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{\sqrt{2} \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \tan ^2(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \tan ^4(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{\left (7 b^2-16 a c\right ) \tan ^2(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{3 c^2 \left (b^2-4 a c\right ) e}-\frac{2 b \tan ^3(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c \left (b^2-4 a c\right ) e}-\frac{\left (3 b^2-8 a c-2 b c \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c^2 \left (b^2-4 a c\right ) e}+\frac{\left (105 b^4-460 a b^2 c+256 a^2 c^2-2 b c \left (35 b^2-116 a c\right ) \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{24 c^4 \left (b^2-4 a c\right ) e}-\frac{\left (5 b \left (7 b^2-12 a c\right )\right ) \operatorname{Subst}\left (\int \frac{1}{4 c-x^2} \, dx,x,\frac{b+2 c \tan (d+e x)}{\sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{8 c^4 e}\\ &=\frac{3 b \tanh ^{-1}\left (\frac{b+2 c \tan (d+e x)}{2 \sqrt{c} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{2 c^{5/2} e}-\frac{5 b \left (7 b^2-12 a c\right ) \tanh ^{-1}\left (\frac{b+2 c \tan (d+e x)}{2 \sqrt{c} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{16 c^{9/2} e}-\frac{\sqrt{2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2+(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \tanh ^{-1}\left (\frac{b^2-(a-c) \left (a-c+\sqrt{a^2+b^2-2 a c+c^2}\right )-b \left (2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{2} \sqrt{2 a-2 c-\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2+(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{\sqrt{2} \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{\sqrt{2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2+c \left (c+\sqrt{a^2+b^2-2 a c+c^2}\right )-a \left (2 c+\sqrt{a^2+b^2-2 a c+c^2}\right )} \tanh ^{-1}\left (\frac{b^2-(a-c) \left (a-c-\sqrt{a^2+b^2-2 a c+c^2}\right )-b \left (2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}\right ) \tan (d+e x)}{\sqrt{2} \sqrt{2 a-2 c+\sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a^2-b^2-2 a c+c^2-(a-c) \sqrt{a^2+b^2-2 a c+c^2}} \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}\right )}{\sqrt{2} \left (a^2+b^2-2 a c+c^2\right )^{3/2} e}+\frac{2 (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \tan ^2(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{2 \tan ^4(d+e x) (2 a+b \tan (d+e x))}{\left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}-\frac{2 \left (a \left (b^2-2 (a-c) c\right )+b c (a+c) \tan (d+e x)\right )}{\left (b^2+(a-c)^2\right ) \left (b^2-4 a c\right ) e \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}+\frac{\left (7 b^2-16 a c\right ) \tan ^2(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{3 c^2 \left (b^2-4 a c\right ) e}-\frac{2 b \tan ^3(d+e x) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c \left (b^2-4 a c\right ) e}-\frac{\left (3 b^2-8 a c-2 b c \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{c^2 \left (b^2-4 a c\right ) e}+\frac{\left (105 b^4-460 a b^2 c+256 a^2 c^2-2 b c \left (35 b^2-116 a c\right ) \tan (d+e x)\right ) \sqrt{a+b \tan (d+e x)+c \tan ^2(d+e x)}}{24 c^4 \left (b^2-4 a c\right ) e}\\ \end{align*}
Mathematica [C] time = 23.2763, size = 884, normalized size = 0.74 \[ \frac{\frac{8 \log \left (\frac{-2 a-i b-(b+2 i c) \tan (d+e x)-2 \sqrt{a+i b-c} \sqrt{c \tan ^2(d+e x)+b \tan (d+e x)+a}}{8 (a-i b-c) \sqrt{a+i b-c} c^4 (\tan (d+e x)-i)}\right )}{(a+i b-c)^{3/2}}+\frac{8 \log \left (\frac{-2 a+i b-b \tan (d+e x)+2 i c \tan (d+e x)-2 \sqrt{a-i b-c} \sqrt{a+\tan (d+e x) (b+c \tan (d+e x))}}{8 \sqrt{a-i b-c} (a+i b-c) c^4 (\tan (d+e x)+i)}\right )}{(a-i b-c)^{3/2}}+\frac{b \left (-35 b^2+24 c^2+60 a c\right ) \log \left (b+2 c \tan (d+e x)+2 \sqrt{c} \sqrt{a+\tan (d+e x) (b+c \tan (d+e x))}\right )}{c^{9/2}}}{16 e}+\frac{\sqrt{\frac{\cos (2 (d+e x)) a+a+c-c \cos (2 (d+e x))+b \sin (2 (d+e x))}{\cos (2 (d+e x))+1}} \left (\frac{\sec ^2(d+e x)}{3 c^2}-\frac{105 a b^6-57 c b^6+105 a^3 b^4-25 c^3 b^4+407 a c^2 b^4-727 a^2 c b^4+32 c^5 b^2+44 a c^4 b^2-740 a^2 c^3 b^2+1364 a^3 c^2 b^2-460 a^4 c b^2-128 a c^6+224 a^2 c^5+96 a^3 c^4-448 a^4 c^3+256 a^5 c^2}{24 (a-c) (a-i b-c) (a+i b-c) c^4 \left (4 a c-b^2\right )}+\frac{2 \left (\sin (2 (d+e x)) b^7+2 a b^6+2 a^2 \sin (2 (d+e x)) b^5-7 a c \sin (2 (d+e x)) b^5+2 a^3 b^4-12 a^2 c b^4+a^4 \sin (2 (d+e x)) b^3+14 a^2 c^2 \sin (2 (d+e x)) b^3-10 a^3 c \sin (2 (d+e x)) b^3+18 a^3 c^2 b^2-8 a^4 c b^2-7 a^3 c^3 \sin (2 (d+e x)) b+10 a^4 c^2 \sin (2 (d+e x)) b-3 a^5 c \sin (2 (d+e x)) b-4 a^4 c^3+4 a^5 c^2\right )}{(a-c) (a-i b-c) (a+i b-c) c^3 \left (4 a c-b^2\right ) (\cos (2 (d+e x)) a+a+c-c \cos (2 (d+e x))+b \sin (2 (d+e x)))}-\frac{11 b \tan (d+e x)}{12 c^3}\right )}{e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.326, size = 13067596, normalized size = 10981.2 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan \left (e x + d\right )^{7}}{{\left (c \tan \left (e x + d\right )^{2} + b \tan \left (e x + d\right ) + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]